package pers.xx.sbm.service.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.xx.sbm.dao.RoleMapper;
import pers.xx.sbm.entity.Role;
import pers.xx.sbm.service.RoleService;

/**
 * @author ：xiexing
 * @description：角色操作实现接口
 * @date ：2020/8/16 12:20
 */
@Service
public class RoleServiceImpl extends BaseServiceImpl<Role> implements RoleService {

    RoleMapper roleMapper;

    /**
     * @description 重新给父类变量赋值
     * @author XieXing
     * @date 2020/8/16 12:24
     */
    public RoleServiceImpl(@Autowired RoleMapper roleMapper) {
        super.dao = roleMapper;
        this.roleMapper = roleMapper;
    }
}
